<div class="row">
    <div class="col-md-12">
        <div class="table-responsive">
            <table class="table table-primary table-striped">
                <thead>
                    <tr>
                        <th>#</th>
                        <th>抓取任务名称</th>
                        <th>分类</th>
                        <th>解析器</th>
                        <th>时间间隔(天)</th>
                        <th>最近抓取时间</th>
                        <th>创建时间</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <volist name="list" id="vo">
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.title}</td>
                        <td>{$vo.cid|getCategory=title}</td>
                        <td>{$vo.parseid|getParse=title}</td>
                        <td>{$vo.timespan}</td>
                        <td><font color="green">{$vo.updatetime|dateFormat}</font></td>
                        <td>{$vo.createtime|dateFormat}</td>
                        <td>{$vo['status']?'正常':'<font color="red">禁用</font>'}</td>
                        <td>
                            <a href="/task/update?id={$vo.id}">修改</a>
                        </td>
                    </tr>
                    </volist>
                </tbody>
            </table>
        </div>
    </div>
</div>

